package study01;

public class Java02_switch {
    public static void main(String[] args) {
        System.out.println("1");
        System.out.println("2");
        int i = 10;
        switch(i) {
            case 10 :
                System.out.println("我是10");
            case 20 :
                System.out.println("我是20");
                break;
            default:
                System.out.println("我是默认分支");
        }
        System.out.println("3");
    }
}
